package command;

import controller.ApplicationController;

public class RemoteCommandRunner implements Runnable {
	
	private ApplicationController applicationController;
	private Command command;
	
	public RemoteCommandRunner(ApplicationController applicationController, Command command) {
		this.applicationController = applicationController;
		this.command = command;
	}

	@Override
	public void run() {
		command.executeRemote(applicationController);
	}
}
